[INFO] cloning repository https://github.com/dsbarnes/linked-lists
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dsbarnes/linked-lists" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsbarnes%2Flinked-lists", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsbarnes%2Flinked-lists'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] eb80fb1b74e71e80a83ed6fc146b44a55133819b
[INFO] checking dsbarnes/linked-lists against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsbarnes%2Flinked-lists" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/dsbarnes/linked-lists on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/dsbarnes/linked-lists
[INFO] finished tweaking git repo https://github.com/dsbarnes/linked-lists
[INFO] tweaked toml for git repo https://github.com/dsbarnes/linked-lists written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/dsbarnes/linked-lists already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 21fc4e824b496cc2e9eab89351e88e8bc6cdf33c94b0ac1668bf0634ce7e1ce0
[INFO] running `Command { std: "docker" "start" "-a" "21fc4e824b496cc2e9eab89351e88e8bc6cdf33c94b0ac1668bf0634ce7e1ce0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "21fc4e824b496cc2e9eab89351e88e8bc6cdf33c94b0ac1668bf0634ce7e1ce0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21fc4e824b496cc2e9eab89351e88e8bc6cdf33c94b0ac1668bf0634ce7e1ce0", kill_on_drop: false }`
[INFO] [stdout] 21fc4e824b496cc2e9eab89351e88e8bc6cdf33c94b0ac1668bf0634ce7e1ce0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 97ce818855d5ca11ba2aaf2d4cbbe2fa48af5f63c1fa6285f124341e4203a79b
[INFO] running `Command { std: "docker" "start" "-a" "97ce818855d5ca11ba2aaf2d4cbbe2fa48af5f63c1fa6285f124341e4203a79b", kill_on_drop: false }`
[INFO] [stderr]     Checking linked-lists v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)`
[INFO] [stdout]   --> src/second.rs:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&sefl) -> Option<&T> {
[INFO] [stdout]    |                      ^ expected one of `:`, `@`, or `|`
[INFO] [stdout]    |
[INFO] [stdout]    = note: anonymous parameters are removed in the 2018 edition (see RFC 1685)
[INFO] [stdout] help: if this is a `self` type, give it a parameter name
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(self: &sefl) -> Option<&T> {
[INFO] [stdout]    |                 +++++
[INFO] [stdout] help: if this is a parameter name, give it a type
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(sefl: &TypeName) -> Option<&T> {
[INFO] [stdout]    |                 ~~~~~~~~~~~~~~~
[INFO] [stdout] help: if this is a type, explicitly ignore the parameter name
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(_: &sefl) -> Option<&T> {
[INFO] [stdout]    |                 ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)`
[INFO] [stdout]   --> src/second.rs:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&sefl) -> Option<&T> {
[INFO] [stdout]    |                      ^ expected one of `:`, `@`, or `|`
[INFO] [stdout]    |
[INFO] [stdout]    = note: anonymous parameters are removed in the 2018 edition (see RFC 1685)
[INFO] [stdout] help: if this is a `self` type, give it a parameter name
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(self: &sefl) -> Option<&T> {
[INFO] [stdout]    |                 +++++
[INFO] [stdout] help: if this is a parameter name, give it a type
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(sefl: &TypeName) -> Option<&T> {
[INFO] [stdout]    |                 ~~~~~~~~~~~~~~~
[INFO] [stdout] help: if this is a type, explicitly ignore the parameter name
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(_: &sefl) -> Option<&T> {
[INFO] [stdout]    |                 ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]   --> src/second.rs:43:34
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&sefl) -> Option<&T> {
[INFO] [stdout]    |                                  ^ expected named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
[INFO] [stdout] help: consider using the `'static` lifetime
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&sefl) -> Option<&'static T> {
[INFO] [stdout]    |                                   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> src/second.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&sefl) -> Option<&T> {
[INFO] [stdout]    |            ---- this function doesn't have a `self` parameter
[INFO] [stdout] 44 |         self.head.as_ref().map(|node| {
[INFO] [stdout]    |         ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout]    |
[INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&&self, sefl) -> Option<&T> {
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]   --> src/second.rs:43:34
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&sefl) -> Option<&T> {
[INFO] [stdout]    |                                  ^ expected named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
[INFO] [stdout] help: consider using the `'static` lifetime
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&sefl) -> Option<&'static T> {
[INFO] [stdout]    |                                   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> src/second.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&sefl) -> Option<&T> {
[INFO] [stdout]    |            ---- this function doesn't have a `self` parameter
[INFO] [stdout] 44 |         self.head.as_ref().map(|node| {
[INFO] [stdout]    |         ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout]    |
[INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn peek(&&self, sefl) -> Option<&T> {
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/second.rs:33:26
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<T> List<T> {
[INFO] [stdout]    |      - this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 33 |         self.head = Some(new_node);
[INFO] [stdout]    |                     ---- ^^^^^^^^ expected type parameter `T`, found struct `Node`
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Box<T>`
[INFO] [stdout]               found struct `Box<second::Node<T>>`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> /rustc/2e677c0645862d17a12c6d04b3019203c8e23fcc/library/core/src/option.rs:570:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `next` on type `Box<T>`
[INFO] [stdout]   --> src/second.rs:38:30
[INFO] [stdout]    |
[INFO] [stdout] 38 |             self.head = node.next;
[INFO] [stdout]    |                              ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `elem` on type `Box<T>`
[INFO] [stdout]   --> src/second.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |             node.elem
[INFO] [stdout]    |                  ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `elem` on type `&mut Box<T>`
[INFO] [stdout]   --> src/second.rs:51:23
[INFO] [stdout]    |
[INFO] [stdout] 51 |             &mut node.elem
[INFO] [stdout]    |                       ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `next` on type `Box<T>`
[INFO] [stdout]   --> src/second.rs:60:35
[INFO] [stdout]    |
[INFO] [stdout] 60 |             cur_link = boxed_node.next.take();
[INFO] [stdout]    |                                   ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/second.rs:33:26
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<T> List<T> {
[INFO] [stdout]    |      - this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 33 |         self.head = Some(new_node);
[INFO] [stdout]    |                     ---- ^^^^^^^^ expected type parameter `T`, found struct `Node`
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Box<T>`
[INFO] [stdout]               found struct `Box<second::Node<T>>`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> /rustc/2e677c0645862d17a12c6d04b3019203c8e23fcc/library/core/src/option.rs:570:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `next` on type `Box<T>`
[INFO] [stdout]   --> src/second.rs:38:30
[INFO] [stdout]    |
[INFO] [stdout] 38 |             self.head = node.next;
[INFO] [stdout]    |                              ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `elem` on type `Box<T>`
[INFO] [stdout]   --> src/second.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |             node.elem
[INFO] [stdout]    |                  ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `elem` on type `&mut Box<T>`
[INFO] [stdout]   --> src/second.rs:51:23
[INFO] [stdout]    |
[INFO] [stdout] 51 |             &mut node.elem
[INFO] [stdout]    |                       ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `next` on type `Box<T>`
[INFO] [stdout]   --> src/second.rs:60:35
[INFO] [stdout]    |
[INFO] [stdout] 60 |             cur_link = boxed_node.next.take();
[INFO] [stdout]    |                                   ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0106, E0308, E0424, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `linked-lists` due to 9 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0282]: type annotations needed for `second::List<T>`
[INFO] [stdout]    --> src/second.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let mut list = List::new();
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] 102 |         assert_eq!(list.peek(), None);
[INFO] [stdout]     |                         ---- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `list` an explicit type, where the type for type parameter `T` is specified
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let mut list: second::List<T> = List::new();
[INFO] [stdout]     |                     +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `peek` found for struct `List<_>` in the current scope
[INFO] [stdout]    --> src/second.rs:102:25
[INFO] [stdout]     |
[INFO] [stdout] 4   | pub struct List<T> {
[INFO] [stdout]     | ------------------ method `peek` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 102 |         assert_eq!(list.peek(), None);
[INFO] [stdout]     |                         ^^^^ this is an associated function, not a method
[INFO] [stdout]     |
[INFO] [stdout]     = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout] note: the candidate is defined in an impl for the type `second::List<T>`
[INFO] [stdout]    --> src/second.rs:43:5
[INFO] [stdout]     |
[INFO] [stdout] 43  |     pub fn peek(&sefl) -> Option<&T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use associated function syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 102 |         assert_eq!(second::List::<_>::peek(list), None);
[INFO] [stdout]     |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 102 |         assert_eq!(list.peek_mut(), None);
[INFO] [stdout]     |                         ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0106, E0282, E0308, E0424, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `linked-lists` due to 11 previous errors
[INFO] running `Command { std: "docker" "inspect" "97ce818855d5ca11ba2aaf2d4cbbe2fa48af5f63c1fa6285f124341e4203a79b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97ce818855d5ca11ba2aaf2d4cbbe2fa48af5f63c1fa6285f124341e4203a79b", kill_on_drop: false }`
[INFO] [stdout] 97ce818855d5ca11ba2aaf2d4cbbe2fa48af5f63c1fa6285f124341e4203a79b
